// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.config.productionTip = false
Vue.prototype.baseUrl = 'http://localhost:8080'
import {
    GoodsAction,
    GoodsActionIcon,
    GoodsActionButton,
    ContactList,
    Sku,
    Tab,
    Tabs,
    Dialog
} from 'vant';
Vue
    .use(ContactList)
    .use(Dialog)
    .use(Sku)
    .use(Tab)
    .use(Tabs)
    .use(GoodsAction)
    .use(GoodsActionIcon)
    .use(GoodsActionButton)
    .use(ElementUI)
    .use(Vant)
    /* eslint-disable no-new */
import xFooter from '@/components/footer'
Vue.component('xFooter', xFooter)
new Vue({
    el: '#app',
    router,
    components: { App },
    template: '<App/>'
})